<template>
  <div class="vue-box sbot" >
    <!-- ------- 内容部分 ------- -->
    <div class="c-panel">
      <el-form v-if="m" :inline="true">
        <sa-info name="序号" :value="m.id" br />
        <sa-info type="enum" name="反馈来源" :jv="dims.SCS_SOURCES_TYPE" :value="m.source" br />
        <sa-info type="enum" name="反馈类型" :jv="dims.FEEDBACK_TYPE" :value="m.type" br />
        <sa-info type="enum" name="处理状态" :jv="dims.DEAL_WITH_STATUS" :value="m.status" br />
        <sa-info type="datetime" name="创建时间" :value="m.createTime" br></sa-info>
        <sa-info type="textarea" name="备注" :value="m.note" br></sa-info>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  name: 'feedback-info',
  props: { param: Object },
  data() {
    return {
      id: this.param.id,
      dims: sa.$sys.getCurd(),
      sa: sa,
      m: {}
    }
  },
  created: function () {
    sa.ajax('/feedback/getById', { id: this.id }, function (res) {
      this.m = res.data;
    }.bind(this), { type: "get" });
  },
  methods: {}
}
</script>

<style scoped>
.c-panel>>>.c-title {
  margin-bottom: 20px;
}

.c-panel>>>.c-item .c-label {
  width: 150px;
}

.c-panel>>>.c-item .el-input {
  width: 300px;
}

/* 链接样式  */
/*.my-link{position: relative; top: -1px; margin-left: 0.5em;}*/
</style>
